package org.baoping.scheduling;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
 * @Description Scheduling 任务调度项目，boot启动类
 * @Author HeZeMin
 * @Date 2021年01月12日 11:26
 */
@SpringBootApplication// spring boot初始化注解
@EnableDiscoveryClient// 开启服务注册与发现
@EnableScheduling// 开启任务调度
public class SchedulingApplication {
	public static void main(String[] args) {
		SpringApplication.run(SchedulingApplication.class, args);
	}
}